package com.aco.fatureapp.model;

public class AccessLog {

	private TypeAction typeAction;

	private String message;

	private Leiturista leiturista;

	public AccessLog(final TypeAction typeAction, final String message) {
		super();
		this.typeAction = typeAction;
		this.message = message;
	}

	public AccessLog(final TypeAction typeAction, final String message,
			Leiturista leiturista) {
		super();
		this.typeAction = typeAction;
		this.message = message;
		this.leiturista = leiturista;
	}

	public TypeAction getTypeAction() {
		return typeAction;
	}

	public void setTypeAction(TypeAction typeAction) {
		this.typeAction = typeAction;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(final String message) {
		this.message = message;
	}

	public Leiturista getLeiturista() {
		return leiturista;
	}

	public void setLeiturista(Leiturista leiturista) {
		this.leiturista = leiturista;
	}

	public enum TypeAction {
		ERROR, LOGIN, CONFIGURATION
	}

}
